import 'package:app_30/models/vip_entity.dart';

vipEntityFromJson(VipEntity data, Map<String, dynamic> json) {
  if (json['maxje'] != null) {
    data.maxje = json['maxje'].toString();
  }

  if (json['minje'] != null) {
    data.minje = json['minje'].toString();
  }

  if (json['dayje'] != null) {
    data.dayje = json['dayje'].toString();
  }

  if (json['txspantime'] != null) {
    data.txspantime = json['txspantime'].toString();
  }

  if (json['txje'] != null) {
    data.txje = json['txje'].toString();
  }

  if (json['txtgfennum'] != null) {
    data.txtgfennum = json['txtgfennum'].toString();
  }

  if (json['tgfennum'] != null) {
    data.tgfennum = json['tgfennum'].toString();
  }

  if (json['tjrnum'] != null) {
    data.tjrnum = json['tjrnum'].toString();
  }

  if (json['cuetxt'] != null) {
    data.cuetxt = json['cuetxt'].toString();
  }

  if (json['mintasktime'] != null) {
    data.mintasktime = json['mintasktime'].toString();
  }

  if (json['maxtasktime'] != null) {
    data.maxtasktime = json['maxtasktime'].toString();
  }

  if (json['mintaskingtime'] != null) {
    data.mintaskingtime = json['mintaskingtime'].toString();
  }

  if (json['maxtaskingtime'] != null) {
    data.maxtaskingtime = json['maxtaskingtime'].toString();
  }

  return data;
}
